package com.cman777.springc.common.bean.enums;

import com.cman777.springc.common.bean.Iface.Enum4DBIFace;
import lombok.Getter;

/**
 * @author chenzhicong
 * @time 2019/11/9 15:15
 * @description
 */
@Getter
public enum StateEnum implements Enum4DBIFace {
    VALID("VALID", "10A", "有效"),
    INVALID("INVALID", "10X", "无效");

    private final String code;
    private final String dbCode;
    private final String message;

    StateEnum(String code, String dbCode, String message) {
        this.code = code;
        this.message = message;
        this.dbCode = dbCode;
    }
}
